package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 tp_forum
 * 
 * @author ruoyi
 * @date 2024-03-19
 */
public class TpForum extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 论坛id */
    private Long tpFid;

    /** 作者id */
    @Excel(name = "作者id")
    private String tpAuthorId;

    /** 作者名称 */
    @Excel(name = "作者名称")
    private String tpAuthor;

    /** 标题 */
    @Excel(name = "标题")
    private String tpTitle;

    /** 副标题 */
    @Excel(name = "副标题")
    private String tpSubTitle;

    /** 发布时间 */
    @Excel(name = "发布时间")
    private String tpIssueTime;

    /** 标签 */
    @Excel(name = "标签")
    private String tpTag;

    /** 论坛内容 */
    @Excel(name = "论坛内容")
    private String tpTcontent;

    public void setTpFid(Long tpFid) 
    {
        this.tpFid = tpFid;
    }

    public Long getTpFid() 
    {
        return tpFid;
    }
    public void setTpAuthorId(String tpAuthorId) 
    {
        this.tpAuthorId = tpAuthorId;
    }

    public String getTpAuthorId() 
    {
        return tpAuthorId;
    }
    public void setTpAuthor(String tpAuthor) 
    {
        this.tpAuthor = tpAuthor;
    }

    public String getTpAuthor() 
    {
        return tpAuthor;
    }
    public void setTpTitle(String tpTitle) 
    {
        this.tpTitle = tpTitle;
    }

    public String getTpTitle() 
    {
        return tpTitle;
    }
    public void setTpSubTitle(String tpSubTitle) 
    {
        this.tpSubTitle = tpSubTitle;
    }

    public String getTpSubTitle() 
    {
        return tpSubTitle;
    }
    public void setTpIssueTime(String tpIssueTime) 
    {
        this.tpIssueTime = tpIssueTime;
    }

    public String getTpIssueTime() 
    {
        return tpIssueTime;
    }
    public void setTpTag(String tpTag) 
    {
        this.tpTag = tpTag;
    }

    public String getTpTag() 
    {
        return tpTag;
    }
    public void setTpTcontent(String tpTcontent) 
    {
        this.tpTcontent = tpTcontent;
    }

    public String getTpTcontent() 
    {
        return tpTcontent;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("tpFid", getTpFid())
            .append("tpAuthorId", getTpAuthorId())
            .append("tpAuthor", getTpAuthor())
            .append("tpTitle", getTpTitle())
            .append("tpSubTitle", getTpSubTitle())
            .append("tpIssueTime", getTpIssueTime())
            .append("tpTag", getTpTag())
            .append("tpTcontent", getTpTcontent())
            .toString();
    }
}
